feat(ctb): simplify XDM initialization#3443
Conversation
🦋 Changeset detectedLatest commit: 8f7d008 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
I think this will also need changes in the go L1 genesis creation code |
cb693be to
6fdaf4f
Compare
6fdaf4f to
37dd389
Compare
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
37dd389 to
4d127f9
Compare
9e0e7f9 to
c208791
Compare
🤔 |
Investigating.... |
|
Same bug as before. Opening a PR to make OptimismPortal not payable. |
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
c208791 to
ab60e8c
Compare
ab60e8c to
292dc80
Compare
|
This PR has been added to the merge queue, and will be merged soon. |
|
This PR is next in line to be merged, and will be merged as soon as checks pass. |
|
Merge failed. Please see automated check logs for more details. |
Simplifies XDM initialization by moving all input variables into the constructor. This was the best I could do, we still need an initializer because of the stuff that the base contract inherits. The primary benefit of this change is that it means we never have to put any parameters into the initializer, which means we can be very certain about parameters before we perform the upgrade.
78d903a to
8f7d008
Compare
|
This PR has been added to the merge queue, and will be merged soon. |
|
This PR is next in line to be merged, and will be merged as soon as checks pass. |
Description
Simplifies XDM initialization by moving all input variables into the constructor. This was the best I could do, we still need an initializer because of the stuff that the base contract inherits. The primary benefit of this change is that it means we never have to put any parameters into the initializer, which means we can be very certain about parameters before we perform the upgrade.
Tests
Core functionality is not changing and tests continue to pass.